// 用户相关的操作

import request from '@/utils/request'

// 用户登录接口
export const userLogin = (data) => {
  return request.post('/user/login', data)
}

// 注册用户
export const registerUser = (data) => {
  return request.post('/user/register', data)
}